<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <title>Navigation Bar</title>
</head>
<body>

<!-- 导航栏 -->
    <nav class="navbar">
        <ul class="nav-links">
            <li><a href="#home">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#services">Services</a></li>
            <li><a href="#contact">Contact</a></li>
        </ul>
    </nav>

<!-- 登录 -->
<button id="open-button">Open Login</button>
    <div class="login-container">
        <h2>Login</h2>
        <form id="login-form">
            <button id="close-button" title="Close">×</button>
            <div class="login-option">
                <input type="radio" id="captcha-login" name="login-type" checked>
                <label for="captcha-login">验证码登录</label>
                <input type="text" id="captcha-input" placeholder="Enter captcha">
                <img src="captcha.png" alt="Captcha Image" onclick="refreshCaptcha()">
            </div>
            <div class="login-option">
                <input type="radio" id="password-login" name="login-type">
                <label for="password-login">账号密码登录</label>
                <input type="text" id="username-input" placeholder="Username">
                <input type="password" id="password-input" placeholder="Password">
            </div>
            <button type="submit">Login</button>
        </form>
    </div>








    <script src="scripts.js"></script>
</body>
</html>